import { request } from 'umi';

/**
 * get one record by id
 */
export async function getClientConfigAll(params: object = {}) {
  return request<ApiResponse.ResultModel<ClientConfigType.ClientConfig>>(`/api/clientconfig/getAll`, {
    method: 'GET',
    params: params,
  });
}
